﻿using System;
using System.Collections.Generic;
using System.Collections;
using System.Text;
using System.Data.SqlClient;
using ECCSystem.EntityClass;

namespace ECCSystem.BizRule
{
	class ClsWorkTime
	{
		DataAccess.ClsWorkTime objDAMC = new ECCSystem.DataAccess.ClsWorkTime();
		public ClsWorkTime()
        { }

		public int GetList(DateTime objDateTime)
		{
			return objDAMC.GetList(objDateTime);
		}

		public int DelWorkTime(DateTime objDateTime)
		{
			return objDAMC.DelWorkTime(objDateTime);
		}

		public string AddEmailTemplet(ArrayList objArr)
        {
			SqlTransaction objTran = ClsCommon.gObjConn.BeginTransaction();
			return objDAMC.AddWorkTime(objArr, objTran);
        }
		
	}
}
